<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"><!--声明Thymeleaf命名空间-->
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf Security</title>
    <link th:href="@{/resources/style.css}">
</head>
<body>

<form method="post" th:action="@{/login}">

    <label for="username">用户名：</label>
    <input id="username" name="username" placeholder="请输入用户名">
    <br>
    <label for="password">密码：</label>
    <input type="password" id="password" name="password">
    <br>
    <input id="remmeberMe" type="checkbox" name="remember-me">
    <label for="remmeberMe">记住我（一天）</label>
    <br>
    <input type="submit" value="登录">
</form>
</body>
</html>